/*
 * @Author: chenr 526963089@qq.com
 * @Date: 2023-02-13 09:39:03
 * @LastEditors: chenr 526963089@qq.com
 * @LastEditTime: 2023-02-16 15:29:05
 * @Description: defaultRequest 默认的请求方式
 */

import Request from './request';
export const defaultRequest = new Request({
  baseURL: import.meta.env.VITE_BASE_URL,
  timeout: 30000, // 请求超时时间
  headers: {
    Authorization: '',
    'Content-Type': 'application/x-www-form-urlencoded',
    'Tenant-Id': '',
  },
});
